/*
 * RusHub - hub server for Direct Connect peer to peer network.
 *
 * Copyright (C) 2009-2012 by Setuper
 * E-Mail: setuper at gmail dot com (setuper@gmail.com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef UNITTESTS_OFF
	#include "UnitTest++.h"
#endif

int main(int, char **) {
	#if (defined _DEBUG) && (!defined UNITTESTS_OFF)
		return UnitTest::RunAllTests();
	#else
		return 0;
	#endif
}



/**
 * $Id: main.cpp 646 2012-01-11 17:28:56Z setuper $
 * $HeadURL: http://rushub.googlecode.com/svn/tags/2.3.10_2.9/unittests/src/main.cpp $
 */
